<?php
/**
 * Created by PhpStorm.
 * User: 宋家森
 * Date: 2017/7/4 0004
 * Time: 上午 9:35
 */
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Redis;

class RedisController extends Controller
{
    public function index(){

        Redis::set('name', 'Taylasdgor');
        $name = Redis::get('name');
        var_dump($name);
    }
}